﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ManaSky.Common.Enum
{
    /// <summary>
    /// 接口状态码
    /// </summary>
    public enum ResultCode
    {
        [Description("成功")]
        Success = 200,
        [Description("失败")]
        Fail = 400,
        [Description("未登录、登录过期")]
        LoginExpired = 401,
        [Description("无权限访问")]
        AccessWithoutPermission = 402,
        [Description("请求不合理，服务器拒绝执行")]
        Unauthorized = 403,
        [Description("找不到所需数据")]
        NotFound = 404,
        [Description("服务器内部错误")]
        InternalServerError = 500,
    }
}
